Recipes to Reuse

نویسنده

  • Thomas Kühne
چکیده

We propose to use objects as closures for behavior parameterization. In contrast to reuse by inheritance, they realize reuse by composition. Closures allow black-box behavior parameterization with encapsulated components, promote function reuse, allow calculations on demand, represent first-class behavior, i.e., feature protocol-, undo-, and persistence mechanisms, and can represent “businesstransactions”. In this paper, we present closures as the object-oriented design pattern Recipe. In contrast to the Command pattern, Recipe establishes a useful collaboration with iterators. We show in particular how to use generic recipes with iterators in order to allow multi-dispatching operations on heterogeneous data structures.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Patterns for Documenting Frameworks - Part II

Good design and implementation are necessary but not sufficient pre-requisites for the successful reuse of object-oriented frameworks. Although not always recognized, good documentation is crucial for effective framework reuse and comes with many issues. Defining and writing good quality documentation for a framework is often hard, costly, and tiresome, especially when not aware of its key prob...

متن کامل

MoSGrid: Progress of Workflow driven Chemical Simulations

Motivation: Web-based access to computational chemistry grid resources has proven to be a viable approach to simplify the use of simulation codes. The introduction of recipes allows to reuse already developed chemical workflows. By this means, workflows for recurring basic compute jobs can be provided for daily services. Nevertheless, the same platform has to be open for active workflow develop...

متن کامل

Extraction of Procedural Knowledge from the Web

User generatedWeb content includes large amounts of procedural knowledge (also called how to knowledge). This paper is on a comparison of two extraction methods for procedural knowledge from the Web. Both methods create workflow representations automatically from text with the aim to reuse the Web experience by reasoning methods. Two variants of the workflow extraction process are introduced an...

متن کامل

Application of Particle Size Distribution Engineering and Nano-technology to Cement Recipes for some Iranian Offshore Oilfields

The design of cement slurry for horizontal wellbores is challenging as it must present very high quality cement slurry properties e.g. zero free water, less than 50 cc API fluid loss value, appropriate rheology and yield point for effective displacement, adequate compressive strength, which is critical for lightweight slurries, and finally stable cement column behind casing. The main objective ...

متن کامل

20 Recipes for Programming PhoneGap - Cross-Platform Mobile Development for Android and iPhone

20 recipes for programming phonegap cross platform mobile 20 recipes for programming phonegap: crossplatform mobile 20 recipes for programming phonegap cross platform mobile 20 recipes for programming phonegap: cross-platform mobile 20 recipes for programming phonegap cross platform mobile 20 recipes for programming phonegap cross platform mobile 20 recipes for programming phonegap: cross-platf...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2007